package cn.itsource.ymcc.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;
@Data
public class OrderDto {
    @NotEmpty(message = "ids空")
    private List<Long> courseIds;
    @NotNull(message = "支付方式无")
    private Integer payType;
    @NotEmpty(message = "no token")
    private String token;
    private Integer type;
}
